<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php
if ($this->__title) {
	echo $this->__title;
} elseif (key_exists($this->app, $_SERVER['LOCALE']['apps'])) {
	if ($_SERVER['LOCALE']['apps'][$this->app][0]) echo $_SERVER['LOCALE']['apps'][$this->app][0] . "  ";
}
?>

178个人中心</title>
<link rel="stylesheet" href="http://www.178.com/s/i/pronav.css" type="text/css" />
<link rel="stylesheet" href="<?=$_SERVER['config']['style']?>/css/common.css" type="text/css"/>
<link rel="stylesheet" href="<?=$_SERVER['config']['style']?>/css/gui.css"  type="text/css"/>
<link rel="stylesheet" href="http://www.178.com/s/i/base.css" type="text/css" />
<?php include('_header.phtml');?>
<?php if($this->headerView) include($this->headerView);?>
</head>
<body>
<div class="body-main">
<!--全站导航开始-->
<script type="text/javascript" src="http://www.178.com/s/top_nav.js"></script>
<!--产品导航开始-->
<script type="text/javascript">var product_nav_box_width = 960,product_post_width = 500;</script>
<script type="text/javascript" src="http://www.178.com/s/scrollclass.js"></script>
<script type="text/javascript" src="http://www.178.com/s/pronav.js"></script>

<div class="header">
	<div class="logo"><a href="/" title="爱178" class="fixie6png ">爱178</a></div><!--logo -->
	<div class="topnav">
		<ul>
			<li class="selected" >
				<div class="topnav-main">
                  <a href="<?= Controller::_makeURL()?>">首页<span></span><!--[if IE 7]><!--></a><!--<![endif]-->
				</div>
                <div class="sub-nav">
					<div class="sub-nav-t"></div>
					<!--[if lte IE 6]><table><tr><td><![endif]-->
					<dl>
						<dd><a href="<?= Controller::_makeURL()?>"><span></span>我的首页</a></dd>
						<dd><a href="<?= Controller::_makeURL('index', 'index', 'index', array('preview' => 'friend'))?>"><span></span>好友访问时</a></dd>
						<dd><a href="<?= Controller::_makeURL('index', 'index', 'index', array('preview' => 'other'))?>"><span></span>陌生人访问时</a></dd>
					</dl>
					<!--[if lte IE 6]></td></tr></table><![endif]-->
					<div class="sub-nav-b"></div>
				</div>
				<!--[if lte IE 6]></a><![endif]-->
			</li>
			<li>
				<div class="topnav-main">
                   <a href="<?= $this->_makeURL('friends', 'index', 'get_list')?>">好友<span></span><!--[if IE 7]><!--></a><!--<![endif]-->
				</div>
				<div class="sub-nav">
					<div class="sub-nav-t"></div>
					<!--[if lte IE 6]><table><tr><td><![endif]-->
					<dl>
						<dd><a href="<?= $this->_makeURL('friends', 'index', 'get_list')?>"><span></span>我的好友</a></dd>
						<dd><a href="<?= $this->_makeURL('friends', 'group', 'get_list')?>"><span></span>好友管理</a></dd>
						<dd><a href="<?= $this->_makeURL('friends', 'invitation', 'invite_form')?>"><span></span>邀请好友加入</a></dd>
						<dd><a href="<?= $this->_makeURL('friends', 'group', 'mutu_friends')?>"><span></span>查找好友</a></dd>
					</dl>
					<!--[if lte IE 6]></td></tr></table><![endif]-->
					<div class="sub-nav-b"></div>
				</div>
				<!--[if lte IE 6]></a><![endif]-->
			</li>
			<li>
				<div class="topnav-main">
                   <a href="<?= $this->_makeURL('sms', 'index', 'index')?>" id="sms_link">
                   <img id="new_pm_icon" style="display:none" border="0" src="http://i.178.com/res/sms/images/newpm.gif"/>消息<span></span><!--[if IE 7]><!--></a><!--<![endif]-->
				</div>
				<div class="sub-nav">
					<div class="sub-nav-t"></div>
					<!--[if lte IE 6]><table><tr><td><![endif]-->
					<dl>
						<dd><a href="<?= $this->_makeURL('sms', 'index', 'view_inbox')?>"><span></span>短消息<strong id="cnt_new_sms"></strong></a></dd>
						<dd><a href="<?= $this->_makeURL('sms', 'system', 'view_inbox')?>"><span></span>系统通知<strong id="cnt_new_sys"></strong></a></dd>
						<dd class="sub-nav-dd"><a href="<?= $this->_makeURL('sms', 'announcement', 'view_inbox')?>"><span></span>官方公告<strong id="cnt_new_ann"></strong></a></dd>
						<dd><a href="<?= $this->_makeURL('sms', 'comment', 'comment_list')?>"><span></span>评论<strong id="cnt_new_com"></strong></a></dd>
						<dd><a href="<?= $this->_makeURL('sms', 'comment', 'mycomment_list')?>"><span></span>评论回复<strong id="cnt_new_recom"></strong></a></dd>
						<dd><a href="<?= $this->_makeURL('sms', 'comment', 'message_list')?>"><span></span>留言<strong id="cnt_new_msg"></strong></a></dd>
						<dd><a href="<?= $this->_makeURL('sms', 'comment', 'mymessage_list')?>"><span></span>留言回复<strong id="cnt_new_remsg"></strong></a></dd>
						<dd><a href="<?= $this->_makeURL('sms', 'dkp', 'dkpListUid')?>" id="sms_pm"><span></span>我的订阅<strong id="cnt_new_dkp"></strong></a></dd>
						<dd><a href="<?= $this->_makeURL('sms', 'index', 'view_send_form')?>"><span></span>写消息</a></dd>
					</dl>
					<!--[if lte IE 6]></td></tr></table><![endif]-->
					<div class="sub-nav-b"></div>
				</div>
				<!--[if lte IE 6]></a><![endif]-->
			</li>
		</ul>
	</div><!--topnav -->
	<div class="topsearch">
		<ul>
			<li><a href="<?=self::_makeURL('friends', 'invitation', 'invite_form')?>" class="myhome">邀请</a></li>
			<li><a href="<?=self::_makeURL('index', 'setting', 'prop')?>" class="friend">设置</a></li>
			<li><a href="<?=self::_makeURL('index', 'setting', 'privacy')?>" class="msg">隐私</a></li>
			<li class="selected">
            <div class="topnav-main">
               <a href="#" class="other">登录其他社区<!--[if IE 7]><!--></a><!--<![endif]--><span></span>
			</div>
				<div class="sub-nav ">
				<!--[if lte IE 6]><table><tr><td><![endif]-->
				<form action='http://bbs.ngacn.cc/nuke.php' method="post" style="display: inline" id="extra_login_form">
					<input type='hidden' name='func' value='login'/>
					<input type='hidden' name='uid' value='<?= self::$login['uid']?>'/>
					<input type='hidden' name='cid' value='<?= $_COOKIE['_sid']?>'/>
					<input type='hidden' name='serial' value='<?= make_md5_request_data( array('uid'=>self::$login['uid'], 'cid'=>$_COOKIE['_sid'], 'ts'=>$_SERVER['REQUEST_TIME']), 'holyshit')?>'/>
					<input type='hidden' name='expires' value='<?= $_COOKIE['_e']?>'/>
					<dl>
						<dd><a href="javascript: $('extra_login_form').action='http://nga.178.com/nuke.php'; $('extra_login_form').submit(); "><span></span>NGA论坛</a></dd>
						<dd><a href="http://bbs.178.com"><span></span>178论坛</a></dd>
						<dd><a href="javascript: $('extra_login_form').action='http://sc.178.com/nuke.php'; $('extra_login_form').submit();"><span></span>SC2论坛</a></dd>
						<dd><a href="http://ifan.178.com"><span></span>iPad论坛</a></dd>
					</dl>
					<!--[if lte IE 6]></td></tr></table><![endif]-->
					<div class="sub-nav-b"></div>
				</form>
				</div>
			<!--[if lte IE 6]></a><![endif]-->
			</li>			
<!--			<li><a href="javascript: void(new MessageBox(MessageBox.TYPE_YES_NO, '<p>xxxx</p><p>xxxx</p>', 'title',{yes: function(){alert(1);}}, {width:400}))" class="msg">按钮</a>	</li>-->
		</ul>
		<div class="fixie6png search">
			<form action="/" method="get" onsubmit="return search_submit('search_key')">
				<input type='hidden' name='_app' value='index'/>
				<input type='hidden' name='_controller' value='search'/>
				<input type='hidden' name='_action' value='user'/>
				<input type="text" class="search-input" name='key' id='search_key' onfocus="search_focus(this)" onblur="search_blur(this)" value='输入对方昵称进行搜索'/>
				<button class="fixie6png search-btn" type="submit"></button>
			</form>
		</div>
	</div><!--topsearch -->
</div><!--header-->

<div class="content">

	<div class="content-main" style="width:100%">
		<div class="content-main-t"><div></div></div><!--右上角 -->
		<div class="content-main-padd  index-wrap" id="content-main">
<!--		<a href="javascript: void(new MessageBox(MessageBox.TYPE_OK_CANCEL, '<p>1</p><p>1</p><p>1</p><p>1</p><p>1</p><p>1</p><p>1</p><p>1</p><p>1</p><p>1</p>', 'aaa', {}))">按钮</a>-->
<?php
if (!$this->appFrameView) {
	include($this->rootDir . '/views/frame.phtml');
} else {
	include($this->appFrameView);
}
?>
	</div><!--content-main-padd-->	
	<div class="content-main-b"><div></div></div>
	</div>

</div><!--content -->
</div><!--body-main-->
<div class="clearfix"></div>

<div class="footer-container">
	<div class="footer-info"><a href="http://bbs.178.com/forum-396-1.html">sns意见反馈</a><span class="spacing-line">|</span><a href="<?= Controller::_makeURL('index', 'index', 'changelog')?>">更新日志</a></div>
	<script src='http://www.178.com/s/footer.js'></script>
</div><!--wg_footer-->

<div id="FlyMessages" style=""></div> 
<?php if($msg = $this->getMessage()):?>
<script>
Event.observe(window, 'load', function(event){
	FloatMessage.show('friendly','<?= $msg?>', 2);
});
</script>
<?php endif;?>
<?php if($msgs = Controller::getFloatMessage()):?>
<script>
<?php foreach($msgs as $msg):?>
Event.observe(window, 'load', function(event){
	FlyMessage.add("<?= addslashes($msg)?>", 1.2);
});
<?php endforeach;?>
</script>
<?php endif;?>
<script type='text/javascript'>
Event.observe(window, 'load', suggestionLink);
ImageLoader.bindHandlers();
Event.observe(window, 'load', adjust_content_frame);
MessageChecker.initialize();
new PeriodicalExecuter(function(pe){FlyMessage.playQueue(); pe.stop();}, 0.5);
</script>
</body>
</html>